import { CoolController, BaseController } from '@cool-midway/core';
import { IotCardCardEntity } from '../../entity/card';
import { IotCardCardService } from '../../service/card';
import { Inject } from '@midwayjs/core';

/**
 * 物联网卡信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: IotCardCardEntity,
  service: IotCardCardService,
})
export class AppIotCardCardController extends BaseController {
  @Inject()
  iotCardCardService: IotCardCardService;
}